package com.zsk.daily.accumulation.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsk.daily.accumulation.dal.model.UserInfoDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhaijun
 * @version :1.0 UserInfoMapper.java, v 0.1 2023-04-10 10:02 zhaijun Exp $
 */
public interface UserInfoMapper extends BaseMapper<UserInfoDO> {

    /**
     * 获取用户信息
     *
     * @param id       id
     * @param name     名字
     * @param maxAge   最大年龄
     * @param deptName 部门名称
     * @return {@link List}<{@link UserInfoDO}>
     */
    List<UserInfoDO> getUserInfo(@Param("id") Long id, @Param("name") String name, @Param("maxAge") Integer maxAge, @Param("deptName") String deptName);
}